package com.mercycrazy.springframework.context.annotation;

import java.lang.annotation.*;

/**
 * 自定义注解用于配置作用域，在配置 Bean 对象注解时，方便获取 Bean 对象的作用域
 *
 * @author <a href="mailto:1443424326@qq.com">mercycrazy</a>
 * @since 2022-12-02
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Scope {

    String value() default "singleton";
}
